//get privacy settings page and send it to background page
chrome.extension.sendRequest({documentAsText: document.body.innerHTML}, function(response){
	//parse the text to DOM
	//parser=new DOMParser();
	//var newDoc = parser.parseFromString(response.newDocAsText,"text/xml");
	 
	//rewrite the whole document
	document.write(response.newDocAsText);
});
